import request from '../utils/request'

const api_url = '/admin/common/dict'

export function getChildData(id) {
  return request({
    url: `${api_url}/getChildData/${id}`,
    method: 'get'
  })
}

export function exportData() {
  return request({
    url: `${api_url}/export`,
    method: 'post'
  })
}
